package com.wsx.ones.api;

import com.wsx.ones.bean.OnesBean;
import com.wsx.ones.status.OnesStatus;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author wangshuaixin
 * @Title: com.wsx.ones.api.OnesResponse
 * @Description: TODO
 * @date 2019/04/19
 */
@NoArgsConstructor
public class OnesResponse implements OnesBean {

    @Setter @Getter private int code = OnesStatus.SUCCESS.getCode();

    public OnesResponse(int code) {
        this.code = code;
    }
}
